img {
    display: block;
    width: 100%;
}

a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.clearfix::after {
    content: '.';
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
    line-height: 0;
}

.clearfix {
    *zoom: 1;
}


/* ul {
    margin: 0;
} */


/* 头部开始 */

header {
    display: flex;
    width: 100%;
    height: .44rem;
    align-items: center;
    background: #f4483e;
    padding: 0 .1rem;
    color: #fff;
    span {
        font-size: .18rem;
        font-weight: 600;
    }
    h1 {
        flex: 1;
        font-size: .18rem;
        font-weight: normal;
        text-align: center;
        margin: 0;
    }
    .download {
        background: url('../images/header_app.png') no-repeat;
        background-size: .25rem .25rem;
        width: .25rem;
        height: .25rem;
    }
}


/* 头部结束 */


/*  tab栏部分开始 */

.outer {
    width: 100%;
    .tab {
        width: 10rem;
        height: .4rem;
        background-color: #fff;
        overflow: hidden;
        li {
            float: left;
            height: .38rem;
            font-size: .14rem;
            line-height: .38rem;
            padding: 0 .1rem;
            &.active {
                a {
                    color: red;
                }
                border-bottom: 2px solid red;
            }
        }
    }
    .products {
        max-width: 960px;
        width: 100%;
        margin: 0 auto;
        background-color: #fff;
        .main {
            display: flex;
            .picture {
                width: 130px;
                height: 130px;
                img {
                    width: 100%；
                }
            }
            .info {
                flex: 1;
                font-size: .16rem;
                margin-left: 10px;
                .price {
                    display: block;
                    font-size: .18rem;
                    font-weight: normal;
                    color: red;
                    em,
                    i {
                        font-style: normal;
                        font-size: .12rem;
                    }
                    del {
                        font-size: .12rem;
                        color: grey;
                        margin-left: .1rem;
                    }
                }
                .coupon {
                    .bar {
                        padding: 10px 0 10px;
                        .goquan {
                            width: 1.61rem;
                            height: .6rem;
                            position: absolute;
                            z-index: 99;
                        }
                        i {
                            position: relative;
                            overflow: hidden;
                            display: inline-block;
                            text-align: center;
                            color: #fff;
                            width: .8rem;
                            height: .12rem;
                            line-height: .12rem;
                            border: 1px solid red;
                            border-radius: .1rem;
                            background-color: #ffb7b7;
                            span {
                                font-size: .1rem;
                                display: block;
                            }
                            em {
                                display: inline-block;
                                height: 100%;
                                position: absolute;
                                top: 0;
                                left: 0;
                                background-color: #fc353a;
                            }
                        }
                        b {
                            vertical-align: middle;
                            font-size: .08rem;
                            font-weight: normal;
                            color: red;
                            margin-left: 15px;
                        }
                    }
                    .bottom {
                        padding-bottom: 10px;
                        font-size: .1rem;
                        .left {
                            float: left;
                            color: #e4393c;
                            border: 1px dashed #e4393c;
                            padding: .02rem .06rem;
                        }
                        .right {
                            float: right;
                            background-color: #ff5e5d;
                            padding: .02rem .06rem;
                            border-radius: .04rem;
                            margin-right: 10px;
                            a {
                                color: #fff;
                                margin-right: 10px;
                            }
                        }
                    }
                }
            }
        }
    }
}


/*  tab栏部分结束 */


/* 尾部开始 */

footer {
    margin-top: 10px;
    .tool {
        display: flex;
        font-size: .14rem;
        border-top: 1px solid #666;
        border-bottom: 1px solid #666;
        a {
            border-right: 1px solid #666;
            flex: 1;
            text-align: center;
            &:last-of-type {
                border-right: none;
            }
        }
    }
    .copyright {
        padding-top: 10px;
        font-size: 0.12rem;
        text-align: center;
        a {
            color: red;
            display: inline;
        }
        p {
            padding: 10px 0;
        }
    }
}


/* 尾部结束 */